package com.ken.user.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class homeworkVo {
    //作业的id
    private String homework_id;
    //作业的情况：已结束，未结束
    private String state;
    //发布时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime assignment_date;
    //过期时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime due_date;
    //创建者
    private String teacher_name;
    //作业名
    private String homework_name;
}
